﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace StudentHookups.Account
{
    public partial class MyProfile : System.Web.UI.Page
    {
        private Image img;
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.IsAuthenticated)
            {
                img = (Image)MyProfileLogin.FindControl("ProfileImage");
                string imgurl = "/imgs/" + Membership.GetUser().UserName + ".png";
                img.ImageUrl = "/imgs/" + Membership.GetUser().UserName + ".png";
                test.Text = "/imgs/" + Membership.GetUser().UserName + ".png";
            }
            
            
        }
    }
}